package com.cxd.springcloud.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class CommonResult<T> {

    private String code;
    private String message;
    private T data;

    public CommonResult(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
